package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 用户、客户关联关系；当提供商机/客户重复时，则可以共享同一个客户
 * </p>
 * @author WuZH
 * @since 2024-05-14
 */
@Getter
@Setter
@TableName ("erp_customer_user_info")
@ApiModel (value = "用户、客户关联关系；当提供商机/客户重复时，则可以共享同一个客户", description = "用户、客户关联关系；当提供商机/客户重复时，则可以共享同一个客户")
public class CustomerUserEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("客户Id")
    @TableField ("customer_id")
    private String customerId;

    @ApiModelProperty ("商机/客户提供人Id")
    @TableField ("user_id")
    private String userId;

    @ApiModelProperty ("提供商机的时间")
    @TableField ("create_time")
    private Date createTime;

    @TableField ("is_used")
    private Integer isUsed;


}
